package com.zhanghp.demo01;

/**
 * @author zhanghp
 * @date 2022-09-06 10:46
 */
public abstract class MarioState {

    protected MarioContext marioContext;

    public MarioState(MarioContext marioContext) {
        this.marioContext = marioContext;
    }

    protected abstract void obtainMushroon();

    protected abstract void obtainFire();

    protected abstract void obtainStar();

    protected abstract void meetingMonster();

}
